package com.example.myblog.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 关注表
 * </p>
 *
 * @author 叶兴
 * @since 2022-09-29
 */
@Data
@TableName("follow")
public class Follow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户
     */
    @TableField("user_name")
    private String userName;

    /**
     * 关注的用户
     */
    @TableField("follow_name")
    private String followName;

    /**
     * 关注的时间
     */
    @TableField("follow_time")
    private LocalDateTime followTime;

    /**
     * 关注的状态，1表示关注，0表示取消关注
     */
    @TableField("follow_state")
    private Integer followState;


}
